<template>
	<view>
		<view class="avator" @click="handleLogin">
			<view class="avator_img">
				<image src="../../static/img/ceshi.jpg" mode="widthFix"></image>
			</view>
			<view class="name">
				请登录
			</view>
		</view>
		<view class="content" @click="handleIntel">
			我的积分
		</view>
		<view class="content" @click="handleTask">
			我的任务
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			handleIntel(){
				uni.navigateTo({
					url:'../jifen/intel/intel'
				})
			},
			handleTask(){
				uni.navigateTo({
					url:'../my-task/my-task'
				})
			},
			handleLogin(){
				uni.navigateTo({
					url:'../login/login'
				})
			}
		}
	}
</script>

<style lang="scss">
	.avator{
		display: flex;
		margin-top: 10%;
		padding-left: 8%;
		padding-bottom: 100rpx;
		border-bottom: 15px solid #eee;
		.avator_img{
			width: 200rpx;
			height: 200rpx;
			border-radius: 50%;
			image{
				width: 100%;
				border-radius: 50%;
			}
			.name{
				margin-left: 20rpx;
				font-size: 30rpx;
			}
		}
	}
	.content{
		line-height: 90rpx;
		padding-left: 8%;
		border-bottom: 1px solid #ccc;
	}
</style>
